package xlog

import "golang.org/x/exp/slog"

// Logger .
type Logger interface {
  Trace()
  Debug()
  Info()
	Warn()
  Error()
  Print()

  Tracef()
  Debugf()
  Infof()
	Warnf()
  Errorf()
  Printf()

  // for golang log
  Fatal()
  Fatalf()
}

type SLog struct {
}

func Warn(msg string, args ...any) {
	slog.Warn(msg, args...)
}
